package com.voiceblog.model;

/**
 * Photo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Photo implements java.io.Serializable {

	// Fields

	private Integer photoId;
	private Album album;
	private String photo;
	private String photoDescription;

	// Constructors

	/** default constructor */
	public Photo() {
	}

	/** minimal constructor */
	public Photo(Album album, String photo) {
		this.album = album;
		this.photo = photo;
	}

	/** full constructor */
	public Photo(Album album, String photo, String photoDescription) {
		this.album = album;
		this.photo = photo;
		this.photoDescription = photoDescription;
	}

	// Property accessors

	public Integer getPhotoId() {
		return this.photoId;
	}

	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}

	public Album getAlbum() {
		return this.album;
	}

	public void setAlbum(Album album) {
		this.album = album;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getPhotoDescription() {
		return this.photoDescription;
	}

	public void setPhotoDescription(String photoDescription) {
		this.photoDescription = photoDescription;
	}

}